<?php /*a:1:{s:50:"D:\phpstudy\WWW\tp6\view\admin\auth\admin_add.html";i:1577241007;}*/ ?>

<form style="padding:20px 20px 0 0;" class="layui-form" id="edit_form">
    <div class="layui-form-item">
        <label class="layui-form-label"><i class="required-color">*</i>账号：</label>

        <div class="layui-input-inline">
            <input name="username" value="<?php echo htmlentities($info['username']); ?>" lay-verify="required" placeholder="请输入登陆账号" class="layui-input" type="text">
        </div>
        <div class="layui-form-mid layui-word-aux">字母数字或下划线,6-20位</div>

    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">角色：</label>
        <div class="layui-input-inline">
            <select name="group_id" id="type" lay-verify="required" >
                <option value="">请选择角色</option>
                <?php if(is_array($authGroup) || $authGroup instanceof \think\Collection || $authGroup instanceof \think\Paginator): $i = 0; $__LIST__ = $authGroup;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <option value="<?php echo htmlentities($vo['id']); ?>" <?php if($vo['id'] == $info['group_id']): ?>selected<?php endif; ?>><?php echo htmlentities($vo['title']); ?></option>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密码：</label>
        <div class="layui-input-inline">
            <input name="password" value="" placeholder="请输入密码" lay-verify="pass" class="layui-input" type="text">
        </div>
        <div class="layui-form-mid layui-word-aux">请填写6到16位密码</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态：</label>
        <div class="layui-input-inline">
            <input type="checkbox" lay-filter="switch" name="Status" lay-skin="switch" lay-text="启用|禁用"><div class="layui-unselect layui-form-switch" lay-skin="_switch"><em>禁用</em><i></i></div>
        </div>
    </div>


</form>
<script>
    layui.use('form', function(){
        layui.form.render();
    });

</script>